/***************************************************************************
   Filename:    helpers.h
   Author:      Josh Partridge
   Description: Contains State enumeration and getInput method
****************************************************************************/

#ifndef HELPERS_H_INCLUDED
#define HELPERS_H_INCLUDED

#include "Brush.h"

// codes vailable from microsoft
#define AR_UP 0x48
#define AR_DOWN 0x50
#define AR_LEFT 0x4B
#define AR_RIGHT 0x4D
#define ESC 0x1B
#define ENTER 0x0D
#define BACKSPACE 0x08

 /************************************************************************************
 Name:               State
 Description:        enumerations for different states of the game (or menu)
 *************************************************************************************/
enum State{MAIN_MENU, TITLE, NEW_GAME, CONTINUE, IN_GAME, SCOREBOARD, INSTRUCTIONS, QUIT, GAME_OVER};

 /************************************************************************************
 Name:               getInput
 Description:        gets a character or multicharacter key (arrows, esc, etc)
 Output:
             return: character representing key pressed
 *************************************************************************************/
char getInput();

#endif // HELPERS_H_INCLUDED
